/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo;

import com.pfs.Tph.utility.NhanVien;
import javax.swing.JOptionPane;

/**
 *
 * @author Administrator
 */
public class Demo {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        NhanVien nv = new NhanVien();
        
        nv.setName("tuan");
        System.out.println("Ten ban la : "+nv.getName());
        
        nv.setAge(18);
        System.out.println("tuoi cua ban la :"+nv.getAge());
        
        
       NhanVien nv1 = new NhanVien("tuan1", 18, "kham thien", "nhan vien", 10000000);
        System.out.println("ten ban la :"+nv1.getName());
        System.out.println("tuoi cua ban:"+nv1.getAge());
        System.out.println("tuoi cua ban:"+nv1.getAge());
        
        String num1 = JOptionPane.showInputDialog(null, "nhap numbẻ 1", " input value", JOptionPane.INFORMATION_MESSAGE);
        
        System.out.println("abc: "+num1);
        
    }
}
